<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<style type="text/css">
.seniorSearch .form-group{
	margin-bottom: 3px !important;
	padding-bottom: 3px !important;
}
</style>
<t:form commandName="weekLogSearch" id="weekLogSearch" action="/admin/studentManager/weekLog/index" ajaxPost="true"  cssClass="form-horizontal seniorSearch" onSuccess="onSuccess">
	<t:panel cssClass="panel-flat border-xs border-primary border-top-xlg custom-panel searchPanel" customBody="true" customHead="true">
		<div class="panel-body">
			<t:formgroup>
				<t:label path="startDate" cssClass="col-sm-1" />
				<t:date path="startDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-2" />
				<t:label path="endDate" cssClass="col-sm-1" />
				<t:date path="endDate" rightInputGroupIcon="icon-calendar52 text-primary" colClass="col-sm-2" />
				<t:label path="name" cssClass="col-sm-1" />
				<t:input path="name" colClass="col-sm-5" />
			</t:formgroup>
			<t:formgroup>
				<t:label path="projectId" cssClass="col-sm-1" />
				<t:select2 path="projectId" placeholder="选择项目" allowClear="true" colClass="col-sm-2" />
				<t:label path="employeeId" cssClass="col-sm-1" />
				<t:select2 path="employeeId" placeholder="选择人员" allowClear="true" colClass="col-sm-2" />
			</t:formgroup>
		</div>
	</t:panel>
</t:form>
<script type="text/javascript">
$(function(){
	$("#weekLogSearch #projectId,#weekLogSearch #employeeId,#weekLogSearch #startDate,#endDate").on("change",function(){
		formSubmit();
	});
	$("#weekLogSearch #name").bind('input propertychange', function() {
		formSubmit();
	});
});

</script>